home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
indus
/
auto_inv
/
inv_menu.prg
< prev
next >
Wrap
Text File
|
1991-08-07
|
3KB
|
75 lines
*--------------------------------------------------------------------------
* Program KEV_MENU - Main Menu for Kevins Subaru Invoicing
* (c) 1989 Systematics Consulting, Inc.
* modified 8/1991 to allow user to change tax rate and
* starting invoice number. (ADF/8-91)
*--------------------------------------------------------------------------
* FILE ALLOCATION AND USE:
* DATA BASE FILE INDEX FILE USE
* ---------------- ------------ ------------------------------
* KEV_MSTR.DBF KEV_IDX1.NDX Master Nane and address file
* KEV_LBOR.DBF KEV_IDX2.NDX Labor Detail file
* KEV_PART.DBF KEV_IDX3.NDX Parts Detail file
* KEV_INVNO.MEM Memory variable file for next Invoice #
* KEV_TAX.MEM Memory variable file for default tax rate
*--------------------------------------------------------------------------
SET TALK OFF
SET ECHO OFF
SET STATUS OFF
CLOSE ALL
STORE " " TO CHOICE
DO WHILE .T.
CLEAR
@ 24, 10 SAY "Systematics Consulting, Inc. (303)674-8445 - Program KEV_MENU"
@ 1, 1 SAY DATE()
@ 1, 71 SAY TIME()
@ 2, 5 TO 5,75 DOUBLE
@ 3, 15 SAY " KEVIN'S SUBARU "
@ 4, 15 SAY " Main Menu "
@ 5, 10 TO 19,70
@ 6, 15 SAY " TASK CODE DESCRIPTION "
@ 7, 15 SAY " ------- ---------------------------- "
@ 8, 15 SAY " 1 Add New Invoice"
@ 9, 15 SAY " 2 Edit/Display an Invoice"
@ 10,15 SAY " 3 Add/Edit more Labor items"
@ 11,15 SAY " 4 more Parts items"
@ 12,15 SAY ""
@ 13,15 SAY " 5 Which invoices are ready to print?"
@ 14,15 SAY " 6 Print an Invoice"
@ 15,15 SAY " 7 List all Invoices on file"
@ 16,15 SAY " S System Functions - reset print flags"
@ 17,15 SAY " C Change System Defaults and Reindex files"
@ 18,15 SAY " Q Quit Invoice System"
@ 20,15
WAIT " Enter your choice (Task Code) --> " TO CHOICE
DO CASE
CASE CHOICE = "1"
DO KEV_0100
CASE CHOICE = "2"
DO KEV_0200
CASE CHOICE = "3"
DO KEV_0300
CASE CHOICE = "4"
DO KEV_0400
CASE CHOICE = "5"
DO KEV_0500
CASE CHOICE = "6"
DO KEV_0600
CASE CHOICE = "7"
DO KEV_0510
CASE UPPER(CHOICE) = "S"
DO KEV_0650
CASE UPPER(CHOICE) = "C"
DO KEV_0700
CASE UPPER(CHOICE) = "Q"
QUIT
OTHERWISE
LOOP
ENDCASE
ENDDO
*---------- END OF PROGRAM ----------------